home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / scim.prerm < prev    next >
Encoding:
Text File  |  2007-03-05  |  784 b   |  38 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. ua_remove () {
  5.     update-alternatives \
  6.         --remove xinput-$1 \
  7.         /etc/X11/xinit/xinput.d/$2 ;
  8. }
  9.  
  10. case "$1" in
  11.     remove|upgrade|deconfigure)
  12.         ua_remove all_ALL scim
  13.         ua_remove ja_JP   scim
  14.         ua_remove ko_KR   scim
  15.         ua_remove zh_CN   scim
  16.         ua_remove zh_TW   scim
  17.         ua_remove zh_HK   scim
  18.         ua_remove zh_SG   scim
  19.         ua_remove all_ALL scim-immodule
  20.         ua_remove ja_JP   scim-immodule
  21.         ua_remove ko_KR   scim-immodule
  22.         ua_remove zh_CN   scim-immodule
  23.         ua_remove zh_TW   scim-immodule
  24.         ua_remove zh_HK   scim-immodule
  25.         ua_remove zh_SG   scim-immodule
  26.     ;;
  27.     failed-upgrade)
  28.     ;;
  29.     *)
  30.     echo "prerm called with unknown argument \`$1'" >&2
  31.     exit 1
  32.    ;;
  33. esac
  34.  
  35.  
  36.  
  37. exit 0
  38.